package service

import (
	"github.com/google/wire"
	pb "shop-demo/api/user/v1"
	"shop-demo/app/user/service/internal/biz"
)

var ProvideSet = wire.NewSet(NewUserService)

type UserService struct {
	uc *biz.UserUseCase
	pb.UnimplementedUserServer
}

func NewUserService(uc *biz.UserUseCase) *UserService {
	return &UserService{
		uc: uc,
	}
}
